package com.hhkj.study.admin.article.service.biz;

import com.hhkj.study.admin.article.entity.Article;
import com.hhkj.study.admin.article.model.req.ArticleReq;
import com.hhkj.study.admin.article.model.res.ArticleRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;

import java.util.List;

/**
* ArticleBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface ArticleBizService extends BaseBizService<Article, ArticleReq, ArticleRes> {

    /**
     * 上下架
     * @param req
     * @return
     */
    boolean updatePublishFlag(ArticleReq req);

    /**
     * 标记重点资讯
     * @param idList
     * @return
     */
    boolean markArticle(List<Long> idList);
}